async function ajaxGet(url,param){
    let info=null;
    await axios.get(url,{params: param}).then(e=>{
        info=e.data;
    })
    return info;
}

async function ajaxPost(url,param){
    let info=null;
    let obj=new URLSearchParams();
    for (field in param){
        obj.append(field,param[field]);
    }
    await axios.post(url,obj).then(e=>{
        info=e.data;
    })
    return info;
}
